package com.juyu.miliao.common.constant;

/**
 * 官方问题回答缓存
 *
 * @author xuanqicheng
 * @create 2018-24-09:58
 */
public interface OfficialQuestionToAnsweRedisKey {
    /**
     * 官方回答icon缓存
     */
    String OFFICIAL_QUESTION_TO_ANSWER_ICONS = RedisKeyPrefix.MI_LIAO_API_KEY+"OfficalQuestionToAnswerIcons:";

    /**
     * 最新回答官方问题人
     * 格式：OfficalQuestionToAnswerNew:{官方问题id}
     */
    String OFFICIAL_QUESTION_TO_ANSWER_NEW = RedisKeyPrefix.MI_LIAO_API_KEY+"OfficalQuestionToAnswerNew:";

    /**
     * 官方问题回答信息缓存
     * 格式 OfficalQuestionToAnswerByQuestionIdAndPageInfo:{官方问题id}:{page}:{pageSize}
     */
    String OFFICIAL_QUESTION_TO_ANSWER_BY_QUESTIONID_AND_PAGEINFO = RedisKeyPrefix.MI_LIAO_API_KEY+
            "OfficalQuestionToAnswerByQuestionIdAndPageInfo:";

    /**
     * 偷听数缓存
     */
    String  OFFICIAL_QUESTION_TO_ANSWER_BY_EAVESDROPPING_NUMBER= RedisKeyPrefix.MI_LIAO_API_KEY
            +"OfficalQuestionToAnswerByEavesdroppedNumber:";

    /**
     * 偷听的用户
     */
    String  OFFICIAL_QUESTION_TO_ANSWER_BY_EAVESDROPPING_USER= RedisKeyPrefix.MI_LIAO_API_KEY
            +"OfficalQuestionToAnswerByEavesdroppingUserInfo:";
}
